/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vmwapplication.test;

import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import vmwapplication.data.IDAO;
import vmwapplication.data.Test;

/**
 *
 * @author marek
 */
public class DaoMockup implements IDAO{

    public EntityManager getEm() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setEm(EntityManager em) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Test saveTest(Test test) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public List<Test> findAll() {
       Test test = new Test();
       test.setDnastring("AGACTAGTTAC");
       test.setId(1);
       test.setName("bla blab bla"); 
       List<Test> tests = new ArrayList<Test>();
       tests.add(test);
       return tests;
    }
    
}
